package cn.felord.security.autoconfigure.jwt;

/**
 * The interface Token cacheable.
 *
 * @author felord.cn
 * @since 2021 /8/9 18:54
 */
public interface TokenCacheable {

    /**
     * Put.
     *
     * @param key   the key
     * @param value the value
     */
    void put(String key, String value);

    /**
     * Get string.
     *
     * @param key the key
     * @return the string
     */
    String get(String key);
}
